<!DOCTYPE html>
<html>
<head>
<script src="../jquery.js"></script>
<script>
$(document).ready(function(){
  $("#p1").hover(function(){
    $(this).text("You entered p1!");    
    },
    function(){
    $(this).text("Bye! You now leave p1!");    
  }); 
});
</script>
</head>
<body>

<p id="p1">This is a paragraph.</p>

</body>
</html>
